package com.lc.demo;

import redis.clients.jedis.Jedis;

/**
 * @description:通过普通Jedis对象连接redis
 * @author: ManolinCoder
 * @time: 2021/9/30
 */
public class redisDemo1 {
    public static void main(String[] args) {
        Jedis jetis = new Jedis("192.168.133.128",6379);
        jetis.set("demo1","demo1101");
        String demo1 = jetis.get("demo1");
        System.out.println(demo1);
    }
}
